﻿@namespace MudBlazor.Docs.Examples

<MudDatePicker Label="Basic example" @bind-Date="date"/>
<MudDatePicker Label="Editable with Placeholder" Editable="true" @bind-Date="date" Placeholder="Select Date" />
<MudDatePicker Label="Only Calendar" @bind-Date="date" DisableToolbar="true" />
<MudDatePicker Label="Date Format" @bind-Date="date" DateFormat="dd/MM/yyyy" />
<MudDatePicker Label="Show week number" ShowWeekNumbers="true" @bind-Date="date" />
<MudDatePicker Label="Display two months" DisplayMonths="2" TitleDateFormat="dddd, dd MMMM" @bind-Date="date" />

@code {
    DateTime? date = DateTime.Today;
}